package edu.lingnan.reactproject.service;

import edu.lingnan.reactproject.pojo.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.lingnan.reactproject.vo.AddUserParams;
import edu.lingnan.reactproject.vo.Result;
import edu.lingnan.reactproject.vo.UpdateUserParams;
import org.apache.ibatis.annotations.Param;

import java.sql.ResultSet;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈世杰
 * @since 2022-01-15
 */
public interface UsersService extends IService<Users> {

    Result add(AddUserParams user);

    Result update(UpdateUserParams user);

    Result getUserList();

    Result deleteUser(String userId);
}
